GrpcAuthServiceAdapter

class GrpcAuthServiceAdapter(authService: AuthService, groupService: GroupService) : AuthServiceGrpcKt.AuthServiceCoroutineImplBase

Adapter class for gRPC authentication service.

Constructors

Link copied to clipboard
constructor(authService: AuthService, groupService: GroupService)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun authenticate(request: Auth.AuthenticateRequest): Auth.AuthenticateResponse

Authenticates a user based on the provided request.

Link copied to clipboard
open suspend override fun authorize(request: Auth.AuthorizeRequest): Auth.AuthorizeResponse

Authorizes a user based on the provided request.

Link copied to clipboard
open suspend override fun authorizeUserToAccessGroup(request: Auth.AuthorizeUserToAccessGroupRequest): Auth.AuthorizeUserToAccessGroupResponse

Authorizes a user to access a group based on the provided request.

Link copied to clipboard
override fun bindService(): ServerServiceDefinition